package com.zgzg.util.comm;

import java.util.Map;

import javax.servlet.ServletContext;

public class HTML {

	   /**
     * 生成静态页
     * @param context
     * @param data
     */
    public static void createIndex(ServletContext context,Map<String,Object> data){
    	CreateHTML.crateHTML(context,data,"pages/ftl/index.ftl","index.jsp");
    }
    
    public static void questionIndex(ServletContext context,Map<String,Object> data){
    	CreateHTML.crateHTML(context,data,"pages/ftl/problem.ftl","problem.jsp");
    }
    
    public static void coverIndex(ServletContext context,Map<String,Object> data){
    	CreateHTML.crateHTML(context,data,"pages/ftl/cover.ftl","cover.jsp");
    }
    
    public static void alertIndex(ServletContext context,Map<String,Object> data){
    	CreateHTML.crateHTML(context,data,"pages/ftl/alert.ftl","alert.jsp");
    }
    
//    public static void createIndexCompany(ServletContext context,Map<String,Object> data){
//    	CreateHTML.crateHTML(context,data,"pages/ftl/index_com.ftl","index_com.jsp");
//    }
//
//    public static void createIndexDoc(ServletContext context,Map<String,Object> data){
//    	CreateHTML.crateHTML(context,data,"pages/ftl/index_doc.ftl","index_doc.jsp");
//    }
//    
//    public static void createIndexNews(ServletContext context,Map<String,Object> data){
//    	CreateHTML.crateHTML(context,data,"pages/ftl/index_news.ftl","index_news.jsp");
//    }
}
